package brwarner.radial 
{
	import flash.display.Sprite;
	
	/**
	 * ...
	 * @author Brook Jensen
	 */
	public class Item extends Sprite 
	{
		//Radius of items
		public const RADIUS : Number = 20;
		
		//Identifier
		private var _id:Number;
		
		//Color
		private var _color:uint;
		
		public function Item( id:Number = 0, c:uint = 0xFFFF00 ) 
		{
			_color = c;
			_id = id;
			
			//Draw the circle
			redraw();
		}
		
		public function get ID( ):Number { return _id; }
		
		private function redraw( ) : void
		{
			//Draw a circle
			graphics.beginFill( _color );
			graphics.drawCircle(0, 0, RADIUS);
			graphics.endFill();
		}
		
	}

}